local containers = require "containers"
local params = containers.params
--doro_orange_hat
params.doro_orange_hat =
{
    widget =
    {
        slotpos = {},
        slotbg = {},
        animbank = "ui_cookpot_1x4",
        animbuild = "ui_cookpot_1x4",
        pos = Vector3(106, 150, 0),
    },
    type = "hand_inv",
    openlimit = 1,
}

local AGHAT_SLOTSTART = 64 + 32 + 8 + 4
local AGHAT_SLOTDIFF = 72
for i = 0, 3 do
    local sp = Vector3(0, AGHAT_SLOTSTART - (i * AGHAT_SLOTDIFF), 0)
    table.insert(params.doro_orange_hat.widget.slotpos, sp)
end
--------------------------------------------------------------------------
for k, v in pairs(params) do
    containers.MAXITEMSLOTS = math.max(containers.MAXITEMSLOTS, v.widget.slotpos ~= nil and #v.widget.slotpos or 0)
end
--------------------------------------------------------------------------
